Fix an issue for PHP 5.3 where you can't access arrays directly if they are returned from a function.