Removed redundant return from checkDate()