Fix #1093: correct error message for last()
Merge pull request #1093 from influxdb/fix-1093

Incorrect error message if using last()