Use None instead of '' for empty XML so INSERT is valid