Remove "upper" from the list of unsupported filters
Add support for Twig's "last" filter