Fix bug while handling nested includes