Fix bug with rm-included-modes not working.

Fixes #3