Fix bounds checking in CJS_PublicMethods::MakeRegularDate().