Fix boost range adaption