Miguel Oliveira takes his best Yamaha finish despite losing out to Ai Ogura after a late mistake in the Hungarian MotoGP.