Feature images have an incorrect path on all subsites

After migration, the feature images are not shown because their path is pointing to /files/2018/07/image.png instead of /wp-content/uploads/2018/07/seal.png

The database doesn't contain images with this path. Also tried with search and replace plugin.

The Media Library path in the wp-config is defined properly to wp-content/uploads/