Fixing bug when generating url for projections.