Added filtering by ratio and cross-correlation