Removes $key from foreach