Say we enumerate the list of rational numbers in the way given in the standard proof of rational numbers being countable (the link of the proof is given below). Then we take all of the numbers from the list whose decimal representation includes only the numbers $1$ and/or $0$. Now we construct the number $x$ in the way that Cantor's diagonalization suggests. $x$ should not be in the given list, hence rational numbers should not be countable. Could you please point out the flaw in this logic?
Cantor's diagonalization; Proof that rational numbers are countrable