Found where add section above bug resides

This is the file where the bug resides for the add section above error.
If you look at the alerts, its not returning an index. I'll continue to
look at it but figured I'd commit in case anyone else has time