Fixed some ofthe logic for handling rejected papers.