Options were not being checked correctly.