#335 - Edit of SQLFeatureStore failed - avoid NPE

Fixes #335