fix bug in LdbcQuery1Result equality check, and update related test to also test for that bug