Fixes undefined PHP notice on taxonomy term view