Setup: Fix page index and missing index errors