Fix bugs in lastseen and wolfram plugins