adds condition only to show 3 most recent pets on homepage