The usage of Compound\LogicalAnd matching system is broken when using ESI or Hinclude subrequests.
The following exception is thrown:
Exception: Serialization of 'Closure' is not allowed at /Users/tretas/git.sources/ezsupport/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Fragment/FragmentUriGenerator.php:31
. configure eZ Publish 5.1 with eZ Demo (it uses an hinclude subrequest)
. configure match as below
Opening <somehost>/the_back will work as expected (admin interface, which is run in legacy => no subrequest)
Opening <somehost>/the_front won't work (the exception will be thrown)