Fix issue with test case 18 & 19 in Chrome