Fixed daterangepicker which was showing both start and end date in the form field other from the one which was selected.