Small fix to sending 'on step changed' events.