Missing brackets added around conditional text in tile flagging query in remove_tiles.py