Fixed problem/solution deletion JS hooks