Added in code to fix techniques crashing after completing a trial