Fixed bugs

9 jobs for operator_tree_optimiser in 15 minutes and 14 seconds (queued for 2 seconds)