Removes unnecessary conditional