Fix npe multiple rs

First commit introduces NPE in MultipleResultSetTest
The second is the fix