more robust elimination of visible queue elements