rangepicker falsy check fix (0 == '')