title: Spring @PathVariable issue
body: <p>I've got product displayed that has ID 1, it works fine If I vote it once, but If i try to vote it again on a different account, for some reason the path variable gets incremented to 2</p>
  
  <pre><code>@RequestMapping(value = "/browse/display/{id}/vote", method = RequestMethod.POST)
  public String voteProduct(@PathVariable(value = "id") final String id, @RequestParam(value = "vote") final String vote) {
   final Authentication auth = SecurityContextHolder.getContext().getAuthentication();
  
      final Account account = (Account) auth.getPrincipal();
      final ProductCommand product = productService.findProductCommandById(Long.valueOf(id));
  
      if(hasVoted(product, account)) {
          return "redirect:/browse/display/" + id;
      }
  
      final Long PRODUCT_RATING = product.getRating() + Long.valueOf(vote);
      final Long PRODUCT_RATING_VOTERS = product.getRatingVoters() + 1L;
  
      final ProductVotesCommand productVote = new ProductVotesCommand();
  
      productVote.setVote(Long.valueOf(vote));
      productVote.setAccountId(account.getId());
      productVote.setProductId(product.getId());
      product.getVotes().add(productVote);
      product.setRating(PRODUCT_RATING);
      product.setRatingVoters(PRODUCT_RATING_VOTERS);
  
      productService.saveProductCommand(recipe);
  
      return "redirect:/browse/display/" + id;
  }
  </code></pre>
  
  <p>~~</p>
  
  <pre><code>@Override
  public Product findById(Long productId) {
      Optional&lt;Product&gt; productOptional= productRepository.findById(productId);
  
      if(!productOptional.isPresent()) {
          throw new ProductNotFound("Product with the ID" + productId + " not found");
      }
  
      return productOptional.get();
  }
  </code></pre>
  
  <p>~~</p>
  
  <pre><code>@Override
  @Transactional
  public ProductCommand findProductCommandById(Long productId) {
  
  
      return  productToProductCommand.convert(findById(productId));
  
  }
  </code></pre>
  
  <p>~~</p>
  
  <pre><code>&lt;form  id="vote5" th:action="@{'/browse/display/' + ${product.id} + '/vote'}" th:method="POST"&gt;
      &lt;input id="vote" name="vote" type="hidden" value="5"&gt;
      &lt;a&gt;5&lt;/a&gt;
      &lt;button type="submit"&gt;Vote&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And If I try to vote again on a different account, I get this</p>
  
  <p><code>Unable to find com.vio.spring5.domain.Product with id 2; nested exception is javax.persistence.EntityNotFoundException: Unable to find com.vio.spring5.domain.Product with id 2</code></p>