Change the SQL query in resolve_cover to use index_listing, so that it u...

This is untested, since I'm not sure how I can test it.