Fixed instances where imageconfig->altered was still being used as a scalar instead of an arrayref