Prevent chunks occasionally failing to load if a load was attempted with \!allowGenerate at the same time as an allowGenerate call.

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