optimize closed day validation