Added a views fix for compatibility with views xml backend.