I like the correctness that this check enforces; however, I worry about the performance penalty that it would add for the `todays_minutes.isnull().any()` on every call to `get_open_and_close`.

I need to investigate if this call is on any inner loops.