Fix boundary condition handling