flag rebuild fix

when adding/updating/deleting documents flag all indexes as dirty (to be
independently lazy rebuilt later)