When lastModified comes via inputFromAttrs it ends up as string in the Attrs map. This results in: error: input attribute 'lastModified' is not an integer Fix by handling it like revCount, which already does the right thing. If added a test and confirmed that it catches the issue. Also kudos to alexander.sieg@cyberus-technology.de for helping with debugging this! Change-Id: I8378fcaea986d798cb8458d4e6e15c2a92c2520a