fix bug on match predictions
Fixes #483