Add operator checking to tab completion