Fix bug in
(1) checking month (with previous char before)
(2) checking year (-ve)