Inverting pattern order

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>