BooleanIndex was wrong when index inversion occured
  when an existing content was reindexed with an opposite value.
  Fixes LP #1236354.