Bug join alias

See #1803