Sigh, for some reason hasMore has to be an int and can't just be a bool. Some
iterators set their more value to be values other than 0 or 1. Not sure why
yet. I'll investigate more after testing.