checkstyle
refs #452
Merge pull request #677 from intermine/i452

Don't run extra queries when running LOOKUP queries with wildcards