fix for querying large texts from collections