Fixed bug with redeliveries. Refs #1243.