Small improvement to patterns

Doesn't really fix anything, it's just more precise.