Clean up inner generation prevention.

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