Update index.js

Fixes a bug when requesting many covers