Fix to prevent errors if the indexes don't exist.