Before the update you could not cancel them any other place, than directly from the map - which is still the case.
This is not a bug - but a request for ways to cancel them from the commands tab.
Has only happened once for me but i don't often need to cancel a spy so i can't say if it is a frequent occurrence. Will try and remember to check occasionally....