Fix query modifier to accept that all toOnes are nested now
Merge pull request #167 from jrogelstad/master

Fix query modifier