Fixed bug causing device preset to be processed twice in some cases.
Expiring tasks generated from presets.