Fix now deprecated check for process/preprocess attribute