Possible bugfix for foreach with explode