TAJO-620: A join query can cause IndexOutOfBoundsException if one of tables is empty. (jaehwa)