fix for NoMethodError (undefined method issue_statuses for nil:NilClass):