Fix for https://github.com/SimpleStateManager/SimpleStateManager/issues/14