Eliminating memory leaks when include limit is exceeded.