changed way to query worklogs