Fix indices when getting trigger results

This PR aims to fix the way trigger results are checked. I hope it can still be integrated in 720pre7. Sorry for the inconvenience.