Fixed fieldIsRightType
Merge pull request #58 from wimsymons/master

fieldIsRightType test was inverted