Fixes most of the assignment operators not working properly.
(also fixes some issues with for loops as a result)