Also allow arrays to be accessed

Added possibility to use the 'matching' method on collections containing arrays.