Doctrine 2 - ORM

Doctrine\ORM\Query\Expr\Comparison Doesn't handle boolean values properly