There's a check for `document` right after that one. I will just switch them.