Implemented query unions as they should be
    - Now correctly differentiates between unions and joins