In the 1990s, codes allowed for a maximum of a 2 percent slope of the treads, but that provision does not appear in the most recent issues of the International Residential Code, so your stairs may have originally been constructed with a slope.