I just tested the code with your field group and it seems to be working for me. This is my simple test:
if (have_rows('content_blocks')) {
while (have_rows('content_blocks')) {
the_row();
if (get_sub_field('ingredients')) {
the_sub_field('ingredients');
}
}
}