Adding query for getting time posts by interval
sick merge fix