Fixes to matches api