Updated operator++ in case the default constructor was used.