Fix tv shows search

This fixes an error 500 when trying to search for a serie while you are on a TV show page.