fix incorrect conditional (true <==> false)

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>