Fix for wrong parsing of variables in ResampleOpUI - closes #23 .