Fix logic error in visual file.