conversion off by 10, fix the calculation
Merge pull request #915 from achamely/dbstaging

conversion off by 10, fix the calculation