Kodi not recognising music ratings

I have successfully used XBMC and then KODI for several years and have never had a problem with my music ratings being recognised eg in Smart Playlist etc.

However since installing Version 17 on Windows my Smart Playlists cannot find any matching ratings. My physical files have not changed.They are tagged with ID3v2.3 and the ratings are recognised by Media Monkey and MusicBee.

A typical Smart Playlist is:
<?xml version=”1.0″ encoding=”UTF-8″ standalone=”yes” ?>
<smartplaylist type=”songs”>
<name>Favourites</name>
<match>all</match>
<rule field=”rating” operator=”greaterthan”>
<value>3</value>
</rule>
<limit>250</limit>
<order direction=”ascending”>random</order>
</smartplaylist

However nothing plays. If I try to play it in Party Mode it fails with “Party Mode aborted. No matching songs in library.

Irun Kodi 14.2 on another device which accesses the same mp3 files and all works fine.

Any ideas? I have tried re-scanning the library several times.