fixed bug in persisting finished quality analysis