fix selection range when on staff > 1, when reverse selection

My take on the same issue highlighted in PR #982