Thankfully the method in which the above code is in, is not yet put to use at all, so you won’t encounter any problems. If you want you can as well delete the whole method right now.
I will keep in mind though that the GetSiblingIndex is not available in 4.3 as it seems and try to find another way around for when I actually put the said method in use.