Additional bug fixes to monodromy.