value relation: save filter expression correctly and re-enable filter expression button (fixes #10503)