Added better error handling support for collection fetches.