Fix FTS3 REST interaction. Fix #4316