Fix some broken if's.