Uncasted user input cause SQL issues