Fix the error that lua binding for create function of Sequence would lead to endless loop
Merge pull request #7170 from samuele3hu/v3SequenceCreate

Fix the error that lua binding for create function of Sequence would lead to endless loop