Tested non-nested query.