Corrected issue in replay method, where root was supplied whereas
reference should've been supplied. Now, reference is supplied.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>