Fix incorrect conversion to primitive variables