Ticket 47306 - execute index_add_mods only for indexed attributes
Description: Check if the attribute being updated is actually indexed,
before doing all the pre-index processing of the attribute/value.
https://fedorahosted.org/389/ticket/47306
Reviewed by: Noriko(Thanks!)