Fixed db error on free hand credit invoice reedition.