Fix tricky minification bug