Fix from -> previousId (#44)