Fix access to sql_quote attributes.