Fix #227 Crash when selecting nil date from calendar grid.