Fixing coalesce so that it doesn't merge with Any always.

For #727