There was an error in the pattern match, everything was included in it. In addition return a boolean in case we succeed in the UA pattern match, since it's more correct than returning an array with the match.