Ek fix exception raised for empty results