WebSearch: record exists fix

* Allows also TypeError should the given recid by None when
  calling the function records_exists()

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>