Fixed an error where a missing compound tag would crash the program