Fixed #1887 - trigger fails if extra is not a function