FIX: rounding problem. stock_deviation is integer in the database and this generates an implicit conversion to FixNum