formatter: display records with no recid

I was getting an internal server error from the function tfn_get_back_to_search_links, it looks fine with the newest pu but maybe I failed to recreate it.