Do problem search lookup in database, not in template.