Fix a bug due to the operator precedence of C.

The expression ```! pic_length(pic, spec) == 3``` is treated as ```(!
pic_length(pic, spec)) == 3``` since ! has higher precedence than ==.