Fixing initiatives#new and initiatives#update bugs caused by permalink logic