Added additional checks to avoid issue tracker related 500 server errors e.g. on dashboard and/or project settings.