handling the removal of back refs in case of single attributes