Ending ListSets XML too early, fix some notices.
Merge pull request #5 from jordandukart/7.x-qa-dan-stop-doing-your-job-so-well

Ending ListSets XML too early, fix some notices.