Fix EntityRepository findOnePublishedBy() method for status overriding

When using method `EntityRepository::findOnePublishedBy()`, status is forced to 1 (published).

The issue is that actually, we cannot pass any other property condition as `array_replace_recursive()` function will replace it with the `status` column.

I've fixed this by using an `array_filter()` that checks if a status is sent and override it with correct value in this case. Otherwise, published status is added to every query.