Fixes NullPointerException

To avoid NullPointerException on notes imported from Springpad