Fixed template to give the inputs names in the choose tag groups form. Fixed the before
check to allow for skipping the choose tag groups section.