Corrections in FOJ using merge join algorithm