Added clearing of owner criteria after every query