Fix more runtime bugs to get native nil to work [ci skip]