Bugfix: Remove empty sequence at the end. Bugfix: Don't check the "sequence" variable but the "returnList" variable for size() > 0. This ate up text.