Bug in population count in the editor