Fix inventory scanning for lockpicks and keys, fixes #165