Correct DocFam:setParam when use it several times (fixes #4073)