|#000| fixing FT Webservice - corrected db query