Fix EntityRepository findOnePublishedBy() method for status overriding