Updated query test to see if adding a limit will impact the performance