Fixes a bug showing related regions in region detail