Fixes regression for dictionary schemas introduced in #19.
Merge pull request #22 from aaronharnly/fix_custom_msg

Fixes regression for dictionary schemas introduced in #19.