Nested URL issue, fixes #11