fixed remove() for the last heap item (special case).