Added study subject reindex flagging before destruction of associations.
Cleanup