We need to check the parent for such items because they don't have a provider themselves. (cherry picked from commit 79af9ccb)