Display correct status.

The API may return multiple statuses for a ref, use only the latest state.