WebSearch: no headers for deleted records

* Avoids populating title/description/keyword HTML headers for
  deleted records.
  (closes #1682)

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>