Fixing a bug with received_confirmations and changes in redis pubsub