Don't include rejected issues in scripts/changes.py

Just a proposal. Make sure to evaluate this properly.