Fix for problem with WHERE CASE LIKE

See details described here: https://groups.google.com/forum/#!topic/doctrine-user/EbVMYOPnHPs

Still missing: NOT LIKE and others....