Small change to catch recording errors