Laravel Eloquent: advanced queries on relationships using whereHas | Lava Lamp Lab