Minor corrections regarding resultset