Fixed the issue where attribute commits did not add or remove nullAttributes, therefore getAttributes returned incorrect results