[#159364] Fix wrong refresh of arrays (on switching tabs or new arrays)