-- added sanity check for existence of user_id_from_search in ad_form
   pre-setting done in page_contract had been ignored in some cases