Added conditions for out of bounds numbers

Prevents code breaking when adding or removing too many orbiters