Fix sequences with specified attributes

Closes issue #26