#383. Fixed some dynamic price logic, fixed issue when on disabling of dynamic price incorrect type saved.