fixes len() in all iterators, also finally adds deepcopy support to queries so the iterators can each get their own copy