Fixed issue in semantic record

Fixed an issue the in the semantic record that was causing the logic to
be wrong.