fix heap check for objects in marked queue