When toggleduck is used to toggle a player into the ducking position, start recording a demo, the state of the toggle duck is changed to the standing position.

This issue does not present itself if the player uses +duck and holds the button down while starting a recording.