Date picker: Fixed listing of maximum month (fixes #5495)