Bug fix while enqueueing pending txns.