Fixed backwards compat issue where querying the navigation context and checking the entry was returning undefined.