Set loading indicator to false when there are errors with loading the unique values