Database: find.$in, find.$nin: Transform data into an array