Whilst we don't need absolute values on the second integral (as the integrand is non-negative over that interval), putting the absolute values isn't incorrect (just redundant), and so what was done is still correct (and the final answer came out correct too, i.e. didn't make a silly mistake).