search_path support should be working correctly even for complex cases