Fixed migration adapter check