Fix isLoading if errors

Fixes always loading error by checking the `isError` field too when determining if the thing `isLoading`