Fix HHVM warning: Invalid argument supplied for foreach()