More ugly hacks, this time to make SmartListing work with Sunspot.