Fix minor const correctness problem