Fix grammar of error message. Fixes #5735