Need to check that hint is empty, not just non-nil (as no hint is saved as "")