On Characterising and Identifying Mismatches in Scientific Workflows