Fixing a bug that stopped the population from filling