Fix retry of commands

If a command failed for a retry-able reason, an item that could not be encoded into EDN was being placed on the queue since it contained a Command object. This fixes that by preserving the original command arguments for re-queuing.