Use 'published' instead of stars for self queries

Change-Id: I0c41e0e4965cba16a06d03c49d2e769b97d73db5