frame number in references is wrong, when using subsections
if I use sections and subsections, then the frame number inserted by \ref-erencing to the label of another frame is wrong. The problem is that there is a counter called 'subsectionslide' that counts the number of slides since the last \subsection; the bug is that it is incremented by \refstepcounter, so this is what is (wrongly) associated to the label. I attach a test file showing the problem; and the patch (for beamer 3.10).
ps: this was posted as bug 2089504 in sourceforge, together with a patch, but the patch was never applied; I hope this time it is.