Person of 'national security concern' was accidentally granted permanent residency