Realised I had protect wrong way round

Also locking rows when publishing - to avoid issues with double-clicking
that can create multiple "public" instances.
Version 0.4.1

Corrected ubpublishing + locking rows (select_for_update) when
publishing.