Moved null check to IssueController.