It has been discovered that if you use a global custom result component in templates, the controller is not always passed in the props. This is fixed by wrapping the entire component in a withController but that should be done already, need to investigate why.