make sure the changelog_limit is an int (or None) and not something else