Correctly Iterate Over Rejected Answers

* Fix maximum id and sql query to ensure correct iteration over
  rejected answers
* Add icon to the 'Next Rejected' button