Update fact_values_helper.rb

Tidied up code a little according to guidelines