Delete all previous resultAttributes when saving, only add column (and value) when the value exists
Pass the visible layers to the backend
only search when all required layers are visible