Fix typo in ShouldBeOfOfType obsoletion message

Minor, but noticed this while migrating from 0.6 to 0.9.

Thanks.