more improvements for org. filter querying, should fix sql server build.
Merge branch 'master' of github.com:Evolveum/midpoint
org. filter queries improved.