Invasions bugfix