added sanity check when saving recurring downtimes (fixes #169)