Fixed resultset error.