Fixed Logic Error related to replays and battles