Fixed issues with pending changes not sanitizing data correctly for fields that accept null and the like.