Fixed some sintax error and the parsing error when sending the request to Cloudmux.
Added selection function for the associations table.