Fix bug in --remove (delete bad assert)