Fix next_id to generate mt seq id within user context (not only customer)