Removed unnecessary len() on matches