Fix simulation bugs in SRAG + SLAG.