Make the SQL dd to return actuall dd, not dynd arrays
dd.where() returns an iterator of dd instead of just a dd