Fixing int vs string issue on contenttype update