Fix to calculating settings of a story