Moved remove from first to second-to-last operation