make RESULT FILTERs run in TDL and fix serialization bug in lua layer when serialize with indices is not set. Propagate serialize with indices correctly in TDL