IDEX-1448. Fixed: Remove From Index doesn't work for folder.

IDEX-1448. Fixed: Remove From Index doesn't work for folder.