Fixed bug in views for created_at date