Did you have both mobile data and WIFI on when you experienced the problem?
Older versions of SailfishOS have older version of this file. So when you did factory reset you got old mms apn configuration.