Fixing prev and next for issues filtering