Fixed sequence problems and id=0 problems here
Merge pull request #640 from jiwalker-usgs/master

Fixed sequence problems and id=0 problems here