Modified: Method appendJoin in Association class receiving an instance
of AbstractQuery.