Hopefully fix the random segfault caused by adding a bookmark