Currently it will also consider config entities. I have posted a fix for that.