Bugfix in parallel join and parallel select