Fixed a newly introduced bug in sanitizeSpontaneousAreas, unit tests FTW