If a medication is set for repetition every x days, but also marked take as needed, it should be shown even on days when there are no scheduled doses. Otherwise it's not possible to keep track of extra doses taken on these days.
Thanks for the app by the way, it's very useful for me.