Fix interface conversion checks.
Merge pull request #17 from statik/interface_conversion

Fix interface conversion checks.