Fixed error when adding an IssueType
Fixes #51