Fix #1228 "XPath error when setting database service action"