Fine-scale selection by ovipositing females increases egg survival