Update FlashMessageListener.php

Process flashes only on MASTER request