Fixed bug which caused an exception when calling getBusinessNoteStore.

Fixes issue #21