Fix unicode error on gallery view.
Allow adding fake publish records.