Fixed field not being assigned in editor because editor was created with...

... incorrect type