Changed implementation of dll_get_back/front by adding an option if duplicate or original Obj should be returned