Fix useListData crash when dropping on empty list (#3769)
* Fix useListData crash when dropping on empty list
* replace placeholder check with collection length check
the placeholder key name could be used by the user, so use the collection size instead to default to root if empty