Fix /mcrank when using flatfile. Fixes #2179