Fix IntegrityError arising from the use of NULLs (Nones)

Changed Nones to ""s