Add coalesce filtering

@Ocramius that was the idea
`$ids`