Fixed nasty bug that changed reference chapters (Line:78)