Chemical Reactions: fix a bug in "noLoops" mode

[#61622960]