Small fix in boundary condition parsing