Another refactor of allowDuring which should work