Fixed NPE with setting filter