Filter compiler: fix two null pointer dereferences