Table prefix was missing in BelongsToMany@getRelationCountQueryForSelfJoin

Table prefix was missing in the SQL query generated by Eloquent ORM, as discussed here : https://github.com/laravel/laravel/issues/2672