The NiMh cells are most likely high current cells, which means they're made to give the high current required by a vacuum cleaner motor. If you use "normal" Li-Ion batteries, they won't be able to handle such high currents.