Fix profile page ordering bug