Added negate flags to the gates

Signed-off-by: Gerco van Heerdt <gercovanheerdt@gmail.com>