Added function to assign value to non-selected checkbox when serialized