Fixed so it never sets stuff to NULL in mongo