jpql is empty and is not empty mixed, #146

fixes issue #146