Avoid exception on duplicate persistence of sensors