Where current of statement is not updating correct row oracle