Changed redundant conditional check.