Check that products_id is an integer and/or with curly braces for attributes