Fix a problem with log axes reported by Steven Darth (thanks!)