Fix issue with regexp plugin within if plugin.