Fixed explicit connection.cursor(cursor_factory=None)

Fixes issue #210.