All items worn are effectively 'removed' and then 'put back on' during any shapeshifting- Druid, Mage or other. Thus your bonus spells granted due to added spell slots or increased casting attribute are removed and then reapplied thus emptying those bonus slots. This is normal and a NWN issue/design, not a Layonara bug.