Shouldn't you set the other one to `False`? This also applies to the other `if` added.