Fix empty callbacks with many includes

In case of many includes, if the first is null the general callback is called but it shouldn't.

Callback was called potentially many times.