Fix crash on validation of nicknamed pokemon