I discovered the bug by testing the dictionary with Nuspell.
I'm using the latest, v1.4.0.
lv_LV.dic has extra unneeded slashes for some words