RBC-838 Fix error on startDate undefined