Fixing bug where method wasn't picking up unscoped url variable.