[Doctrine] fixed wrong error message in Orm WhereBuilder