Compliance with the latest Latvian resource grammar and an "accidental" bugfix