Fixed bugs related to as.db.data.frame

no need to use conn.id in as.db.data.frame if db.Rquery