this is going to assign the type rather than check equality.

Do a quick local-test of your branch just to make sure everything works correctly. I'll merge after that