Add forgotten case to likelihood functions

Code 25 was not filtered out, leading to cryptic crashes