#335 - Edit of SQLFeatureStore failed - avoid NPE

Fix for #335