adde test for empty where condition