fix for issue with creating form attributes in the Form class where an array key is an integer value