A Generalization of the Łoś-Tarski Preservation Theorem over Classes of Finite Structures