When unpatching, the activeness safety logic should check for the new function on the stack, not the old one. Fixes #64.