Apply same fix for previous to previousAttributes