Minor bug fix for removal commands.