Accidentally made changes on dev branch. Changes here a regard deletion of hazards, hazards are now put into inactive state on DB.