fixes to updatedSince queries