Corrected a problem with Java and Javascript filters aways returning a tuple