Fix double check fwrev
Original author:  andi34