Query List Context Processors: code refactor.