Simplify Status.get_matching code a little.