Update classes/query.php

return the default join result in modify_join_result, fixes issues experienced in #213
Merge pull request #215 from peter-fritchley/patch-7

Update classes/query.php