(master) Small adjustment in pattern matching