Do not trigger router/history events if Router#execute returns false
Tweak a bit.