Remove unnecessary diff for parseConstraints() method