Patterns due to an interplay between viscous and precipitation-driven fingering