Only add owner condition if owner_key was found
If there is no key $entity->getKey('owner') return false. This adds a condition "table.0 = "
Closes #3166107
If there is no key $entity->getKey('owner') return false. This adds a condition "table.0 = "
Closes #3166107