Fix recent files dialog crasher. [#737261]