BUGFIX: modifying result slice affects subsequent calls to query methods