removed min & max attributes on date when min > max