[5.x] Fix error from DefaultInvalidator when creating a nav
#13596
+3
−11
DefaultInvalidator when creating a nav
#13596