Fixed the growing tag page issue in dev mode

I finally found some time to fix the growing tag page issue in dev mode. I hope this is OK for you, at least this is working for me.