Fix two typos in database transactions docs