Fixed validation issues in problem list API