Server: Fixed issue with removing device (or disabling notifications) crashing when in invalid state (token already removed)