Bug fix. Null check before bookmarking.