Fix: Invalid reference to mainAlias in ManyToMany. Missing reference to
Profiler class.