improve validation of interval_hours

fixes #4, fixes #5