Fix empty include/exclude table issue