Close #19
Merge pull request #20 from akeeba/feature/19-fix-unpublished

Fix access to unpublished items