Refs #10537 Fixing conversion to size_t