The display was wrong, as it was selecting the timestamp of the logentry that I entered last. This is wrong. It should display the log entries 31 days back from my last log entry. It is really confusing if you enter a log date e.g. three days back and suddenly your entries for yesterday disappear.
People listitem not working. Was tried to be commented out but the adp parser still read it. Took it out. Fixed the problem with no project_code given.