Fix acking of queue messages.