Fixed bug that allowed user to add nonexistent stocks