Singledate clear prevention

Solution for https://github.com/eternicode/bootstrap-datepicker/issues/775?