Fix issue when there was no named scopes. Derp