Fixed issue with multiple columns in output (Issue #5)
fixed issue with and queries where one side is empty