Fixed uninitialized string offset: -1 when accessing frontpage w/o slash