Get PeriodAdapter to handle null values properly
Merge pull request #21 from iplayer/period-adapter-null-check

Get PeriodAdapter to handle null values properly