Fix some failing asserts
Fix some failing asserts

These asserts can in fact fail if the user has used some other command
(not flitter) to activate the window that flitter would activate next,
and then they run flitter.

But the problem is easily worked around

seanh/flitter,seanh/flitter