Fixed Array_keys() warning (thx kostaspt)