Cra 505 CRA-721: Fixed well optimisation, test case 10 is now ok.