Instead of putting isFuture checks in each branch of the match clause, I'd have a special match clause for when isFuture is true and another when false, separates the concerns