Fixes hasAccess test that wasn't working when a note was returned