Fix changeset 812b31949c6cd4c56627bc51538c428fc43148bb erroneously reported as minor. Set undefined variable to avoid warning when reordering link categories - refs #7249