Change £0 price to Free has unexpected side-effect

I’ve used the following code to change £0.00 items to display as FREE on the featured products block:

{% if product.price != 0 %}

{% render 'price', product: card_product, price_class: '' %}

{% else %} FREE

{% endif %}

That has worked, however now all the items that are above £0.00 only show as £19.99 instead of their actual price. Any ideas? I’m using the Sense theme and added this code to the featured-product.liquid file.

When you click the link to the product page, the correct price shows.

https://b36b49-2.myshopify.com/pages/events

That’s the same code as I’ve used, or am I missing something? I’ve copy/pasted it and no change.

Working now. Thanks so much!