fix db mod detection for 1.2.4 upgrade