Fixed bug in tab delete button in production version.