Fixed issue in WArrayAdapter and WBaseAdapter