Fixed bug when multiple virtual sites depend on the same particles (see bug 2019)