Fixes the picking issue discussed in https://github.com/halfak/Mediawiki-Utilities/issues/7