Remove if statement to prevent duplicated commands.

Fixes #69.