fixing error on notifyDataSetChanged in some particular, strange cases