Remove patches for 'None' and set None to NULL in DB