What are the most important edge cases to consider when implementing a function that traverses nested data?