Fixed #22306 -- Deprecated future versions of cycle and firstof template tags.