Ensure that we purge the api cache when updating comment periods