Include not_published state.
Merge pull request #4127 from HassenRiahi/IncludeNotPublished

Include not_published state.