MRQL-44: Fix the map-reduce join for a complex reducer on map-reduce mode