[BUGFIX] Fixed postfix incrementing issue that was incorrectly indexing an array