Add assertion on BasicAdapter.findHasMany