Throw more appropriate exception on incorrect filtering listener types