the bug of active/inactive mineral reactions has been found by RZ. This commit is fixing it.