Association bug workaround

This is a workaround for issue chicks/sugarcrm#91