[lua-classconversion] Now checks if userdata is not null