cursor.fetchone() returns None even though a value exists cursor.fetchone() returns None even though a value exists sqlite sqlite