Thanks for the PR. It's better to go `... and (state.mode not in (modes.NORMAL, modes.UNKNOWN))`. Could you change that?