Fixed and tested issue with $in, also queries were only recording
getmore ops. Some minor refactoring.