Calendar: Fixed goto month field issues.

Fixes #5143. Fixes #5521.