Fix the issue when only endDate is present
Release 0.1.7