Fix first_last_remove error