Fix parameter for form not outputting properly for class values