Oops, don't generate a chunk multiple times.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>