Safer way to loop on filter bucket data.