Cancelled pipelines shown as pending
### Summary
Cancelled pipelines shown as pending.
### Steps to reproduce
* Go to pipelines page
* Cancel any pipeline
* You can see cancelled pipeline in pending tab and with `pending` label
### What is the current *bug* behavior?
(What actually happens)
### What is the expected *correct* behavior?
I guess cancelled pipelines should be in Finished tab
### Relevant logs and/or screenshots

### Output of checks
Reproduced on Gitlab.com.
issue