Catch empty indexes