Add support for published/unpublished item queries