fix loading bug in new files

fixes: CNVS-15208

test plan
* enable new files
* create one or two folders in the root folder
* from the root folder, click on another folder
* you should not get a react invariant error in
  the console

Change-Id: Id72543b0e0dd5598b3141fe620dcb56a32da93fc
Reviewed-on: https://gerrit.instructure.com/40788
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jason Madsen <jmadsen@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>