I fixed the match to be more flexible: the user can specify an int, tuple, or None to match whatever they desire.