querying of deleted objects