Minor CwCheat bugfix contributed by dlanor in issue #4103