fixed some minor issues under Linux & with current pymongo version (empty find_and_modify results)