Fix behaviour on Boolean value
Fix parameter
Add cast
Fix imports
Merge pull request #1083 from querydsl/i1082

Fix behaviour on Boolean value