Stops objects indexing at the end