fix finding doc collections to upload