fix comparison to sql.ErrNoRows