Fix operations order to ensure that last_removed is not the "current".