Fixed nested controllers loosing scope on search