fix issue where false values came through as nils