Fix bug in publishable behaviour