check date parameters and frequency type congruence in find_gaps