Update CareerPanel.php for better int validation