BUG: Fix multiple trivial bugs in the dynamic url store.

Fixes a couple of AttributeErrors.