Fix resource search