Debug to solve why prepared statements converts -1 into 4294967295