Fix #2685.
Merge pull request #2685 from mdboom/votable/name-error

Bug: votable.conesearch fails with `NameError: global name 'votable' is not defined`