Added validator for maximum amount of ships