Fixing small bug in section retrieval