fixes #5691 Suggested tags do not dissappear

Fixed the issue and pushed the code for review, please check it.