Add modification date/time to index, loosen check for valid image ID