Changed Doctrine Query Provider to use the entity namespace in queries.