s:GetStartEnd(): Make sure end >= begin (fixes #73)