Availablility collection should use correct period

It was hardcoded on day, whereas we want it to vary as the options
change.
Merge pull request #331 from alphagov/fix-availability

Availablility collection should use correct period