Fix broken tuple in search

This will fix the errors in search.