Fix the remove form dynamic form function

#2647
Merge pull request #157 from AlecErasmus/fixRemoveFunction

Fix the remove form dynamic form function