add tag constraint when generating random recipe