ensure location query works as expected