Fixed some wrong variable assignments

http://cakephp.lighthouseapp.com/projects/43067-cookbook/tickets/46-cookbook-code-errrors-used-for-assignment-of-relationship-properties-in-examples#ticket-46-2