Removed unecessary retrieval of permanent ID's