[foodcritic] cleanup search edge case