Rather than fetching currentDateTime, which will probably be unused, you can fetch it only if needed to make lastModified valid.