adding correct values to index when bad ones are found
adding a test around incorrect value repairs