fix reversing of behaviors when they're translated to triggers

Signed-off-by: Chris Granger <ibdknox@gmail.com>
merge

Signed-off-by: Chris Granger <ibdknox@gmail.com>