Fixed issue of the subTemplate forms not changing correctly.