Fix floating point precision inaccuracy

https://govuk.zendesk.com/agent/#/tickets/381377