Fix inverted sense for C prefix queries