sometimes guess_type returns None
Merge pull request #967 from dimagi/mm-edge-case

sometimes guess_type returns None