Fix bug where less than 5 Jira changes causes NPE