Rewrite some bad argument handling in HandleEpochCommand().