Fixed parameters validity check, now listening also expression changes