Fixed the datepicker problem with creating groupgrants"