Fixed issue with some categories not being marked as completed