On Detecting Nearly Structured Preference Profiles