Table prefix was missing in BelongsToMany@getRelationCountQueryForSelfJoin