Fixed version filter

Fixed the ftp query.
error