Removed pointless and potentially harmful IF check