Fixed a small issue with empty lists and regenerated sig tests.
Merge remote-tracking branch 'colinbull/master'
Merge remote-tracking branch 'colinbull/master'