Added same fix to recordData3.py.