Updates to sorted merge semi and anti joins