Yeah turns out this was correct before and Nick wasn't decoding the URL before testing… :/