Fix broken jump_to_method_definition

Currently, this feature is entirely broken. With this change, the feature works again just so long as you've selected the thing you want to jump to.