MediaPortal: better field count checking