[MAGEMEP-111] Changing version comparison function