Fixed internal trigger helper that did not return the correct value.