Fixed issue with error on custom exporting buttons containing no symbol. Closes #1822.