[BUGFIX] Fix BUG #48821 - last tag can now be deleted