Fix for 'ambiguous table name' on deleted_at column for scopes