Find bug inducing commits and update the db column contains_bug. Correctly sorting descendingly commits now. Optimized bug finding by finding index of correcting bug in the array of commits