diff --git a/src/main/jquery.continuous-calendar.js b/src/main/jquery.continuous-calendar.js
index <HASH>..<HASH> 100644
--- a/src/main/jquery.continuous-calendar.js
+++ b/src/main/jquery.continuous-calendar.js
@@ -143,7 +143,7 @@
           initEvents: function() {
             initSingleDateCalendarEvents()
             var selectedDateKey = startDate && startDate.dateFormat('Ymd')
-            if(dateCellMap[selectedDateKey]) {
+            if(selectedDateKey in dateCellMap) {
               getDateCell(dateCellMap[selectedDateKey]).addClass('selected')
             }
           },
Fix bug when selected date is same as first enabled date