Fixed issue where switching from log to linear scale caused the threshold of columns to become lower than zero. Closes #1791.