It's not a grammar mistake. It didn't happen due to wrong flexion, sentence misplacement, etc, it was the contextless translation of a source word into the wrong target word among multiple choices. A frequent thing to happen, but for all challenges Finnish grammar may have for non-Finno-Ugric speakers, this isn't one of them.