Fixed bug in Sections indexing (out of range)