Don't keep signs if a JavaSearch returned a single result

See #344