Fixed #490 -- Fixed incorrect handling of cursor.rowcount in yet-unused database_chec...