Robusting the usage of MemoryModel (check if o is part of Resultset)