cmd_switch: don't fail if the index differs only by timestamp