Clean up published flag.