All programming languages offer features to shoot yourself in the foot ;) Glad you found out and thanks for sharing :) Happy coding !