Unpublished records in exports

I'm not totally confident that I unreverted effectively, so perhaps @jambun can scan the changes and make sure there weren't any mutilated baby bits in the bathwater.