Fix cursor returning bunch of Nones in fetchmany