They were treated like doubles when persisting which caused a class cast exception when reading data later