Better query optimisation (merging of QueryAdvice instances).