Code cleanup
Fixed an issue with closing questions without having first been resolved