diff --git a/apps/workflowengine/lib/Manager.php b/apps/workflowengine/lib/Manager.php
index a0dda9cb6bced60087cb70732a31cc99017b14ed..2e78b75aeb88d172cf89a30b490227d53cc3a4fc 100644
--- a/apps/workflowengine/lib/Manager.php
+++ b/apps/workflowengine/lib/Manager.php
@@ -523,7 +523,7 @@ class Manager implements IManager, IEntityAware {
 			}
 
 			if (!empty($instance->supportedEntities())
-				&& !in_array(get_class($entity), $instance->supportedEntities())
+				&& !in_array($entity, $instance->supportedEntities())
 			) {
 				throw new \UnexpectedValueException($this->l->t('Check %s is not allowed with this entity', [$class]));
 			}