Fixed bug where array_column is not properly defined (and used)