set limit to 1 (one) in getLastModifiedForResource