Added two sub string indexes to the session table