Added extra condition for event ID on model image class; updated command for importing legacy images (actually working correctly again).