Add a pattern match version for lastButOne