Prevent users from adding multiple empty steps

Fixes #104.