[BISERVER-11469] Daily blockout not blocking when run-once exists within the same blockout time

Fixing unit tests and adding NPE protection