Avoid duplicate results in compose