Availablility collection should use correct period

It was hardcoded on day, whereas we want it to vary as the options
change.