Fix uncaught exception trying to reinitialize tagsinput object