Hide the carousel when data is invalid