Fixed incorrect assignment operators.

This were misused.  Was receiving "Maximum call stack size exceeded error" due to recursive loop never reaching its base case.