fall back to text search on invalid field (fixes #375)