PHPFilter: fix extracting array with no messages [fixes #11]