Merge pull request #5152 from RosettaCommons/joshmiller/luabugs [Foldit] Add more segment bounds checking Release notes: - Fixed some Lua functions which would crash when given out-of-bounds segment indices