Added simple check to make sure a user doesn't pass a period that is not supported