Remove the reliance on the  global in the post class filter and check the track or record for a post thumbnail instead of just the record.