Fixed a few errors in the Advance index view