This should do the trick:
SELECT * FROM
( SELECT ID , [VERSION] , NAME , deleted,
ROW_NUMBER() OVER ( PARTITION BY ID ORDER BY [VERSION] DESC ) AS rown , [DOCUMENT]
FROM dbo.SOURCEDOCUMENTS ) x WHERE rown = 1
AND convert(varchar(max),convert(varbinary(max),[DOCUMENT])) LIKE '%something%'