Fixed crash in sanityCheck. Closes #36
Merge branch 'master' of github.com:/libris/librisxl