Bug fixes to all parts of the data analysis pipeline