Added on_delete=SET_NULL to first/last publish fields