Added .limit() to query functions. Changes as per feedback