Keep in mind that "production number" doesn't necessarily equate with filming order. It's likely true in most cases, but not in all. I suspect that because they decided that the finale was going to be the equivalent of five episodes, that they assigned it an "earlier" production number to start...