Add a check to avoid id set if function is not available
Frontend check to avoid bad assignment of user-organization couple