Fixed error with combining dwt sequences