Framework 7 v1 - History #null

Got an issue with an old Framework 7 v1 app.
Using inline pages (DOM Cache) and back links in navbars.
Every page is cached except the first one.

Back button works, but after 2 levels down going back to the last item in history (first page) loads a completely different page (which has never been navigated to yet).

When i log the mainView.history array i see that the first page is saved as “#null”.

When i set all my pages as cached, and manually load the first page i push the actual index page after “#null” and never reach it. Is there any way to set the default page when using inline pages (DOM Cache)?

Example of my mainView.history

[’#null’, ‘#startpage’, ‘#loginPassword’]