TAJO-881: JOIN with union query occurs NPE. (Hyoungjun Kim via hyunsik)

Closes #48