Filter compiler: more fixes against null pointer dereference