formatter: display records with no recid

* Fixes issue in 'Default_HTML_detailed' template when record does not
  have a 'recid'.  (PR #2272)

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>