PATTERN_STATUS and getprofile action fix

PATTERN_STATUS was outdated (two columns were missing from the pattern), so getprofile was not working