Change default value of last ids when reloading state to be 0 rather than null