Updated so unpublished slides are not shown