[FIXED] Add a delay between two commands in a function?

I have a function that teleports you to the Nether and then locates a Nether Wastes biome. However, once it teleports me to the Nether, it doesn't locate the biome, skipping that command completely. I'm guessing it's because it cannot do both commands at once, so is there a way to add a delay between the commands? If that's not possible, is there some other way to make it work?

Continue to help post