fixing bug in clean context that caused falsy values to be removed