Move check for topMost from getItems. Not sure if it safe

I am not sure why getItems() checks if the item is topMost or not.
Alex, since it is your code, can you verify that this change is safe?