Fix find script

Bug in comparing paths that meant would never match script