Fixed index query regression in L0.Entity instance queries