Add support for sequences to UpsertCompiler