Ensuring attribute_id SQL is always unquoted; this column is an INT and never string/varchar.