Could you share the searching code? How are you limiting it to 50 records? With $limit within the pipeline?