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

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