Update exclude categories query