Add additional case for a bottom affix that has no top offset to ignore unpin.
Use double equals for null/undefined checks.