Switch the order of regex when detecting a firewallRequest to avoid the switch not found error