Fixed a bug with bad metric parameters passed when LMNN not used.