Speeded up the initial home page chart query, using an index