LB-947: mysql confused on union

fixed