I have tried recreating the problem and am not able to. To be honest, I cant say why the code was generated that way. can you try recreating the issue on a new form? If you can recreate the issue again, I will crate a ticket so we can investigate the problem.