I'm unfamiliar with a lot of this code, so I'm going to double-check my assumptions with you. Bear with me on this. So it looks like what was going on here is that `$data['preferences_array']` is set and then never used. So you just straight up removed it entirely. Is that right, or is there something more subtle going on here that I'm missing?