Bugfix: knc: Check that device actually has work queued, before trying to find the most recent one