Fixed problem where some periods were not loaded alright.

Signed-off-by: Michel Verbraak <info@1st-setup.nl>