Improved invalid entry error message.