adds non-correlated subquery/ fixes #22