fix up AsBoolean not working for null strings