Fixed small bug in form configuration