minor tweak in comma split query