We ended up fixing this one of two ways. As explained above removing the UI Navigation content relations was one way in the settings and the second ways is to just start with a a fresh database however this means re-adding all your content. option one is faster however if you already have the error it may be harder to rectify hence option two.