Should return object, not ResultSet

Error fix, return from unique result should be object, not ResultSet