Morale and the wait command

I’ve noticed whenever a unit gets morale and I wait, it loses its extra turn. Is this a bug or a change in code?

Thanks.