Make sections boundary checks inclusive