Fixed error when adding beatmaps.