Committing GetNext changes

Modified GetNext and MoveFirst methods