Bugfix to avoid crashes when there are missing areas near