added fill of safety with correct selected request data
added some debug messages
manage error in case problem retrieving sopralluoghi and return an empty record