Dir (File) throws exceptions on empty folder

If you set Dir (File) to look at an existing but empty folder, when you hover the mouse over the “File Count” output pin it throws continuous exceptions.

00:00:09 * : [validatevalue: error occured in FileNodes.TMDirectoryNode.EvaluateCB](validatevalue: error occured in FileNodes.TMDirectoryNode.EvaluateCB): List index out of bounds (0)

Example patch attached; same behavior in 30.2 and 31.2 (x32).

DirFault.zip (1.2 kB)