Fix from Arnaud Kerhornou for attrib_type table