Scope created_at correctly and use JOINS instead of INCLUDES to query joined table