Fixing bug in issue action logic.