Fix bug where modSchema() wasn't getting called properly on sanity check error
Merge pull request #602 from timrae/sanityCheckModScheme

Fix bug where modSchema() wasn't getting called properly on sanity check error