Fix bug where associated data was not added when condition was an array