Fix access to unpublished items

Close #19