Fix Array#flatten on an array containing a Settingslogic object