Allow filter by scope with joined tables

Without this change you can't filter with a scope that joins on another table that has an 'updated_at' column. You'll get an an error saying the updated_at column is ambiguous. With this change the updated_at is properly scoped to the table of the object in question.