fixed a bug with logical negation, better fix for crash with empty conditionals