Fixes a bug where url-encoded Model ids weren't equal to the non-encoded ids which triggered an error - the url doesn't have to be equal to the model id