handle falsy values well in assocIn