Removes invalid mock.
Fixes issue with duplicating scopes with has_many through relationship.