Hi,
What is the transaction in which you are getting the issue?
Is it a standard component or custom component?
I think it's a custom component.. If it's a custom component from which you are trying to navigate to account details page then for that custom component go to the window controller, redefine the wd_destroy and write the following code.
Raise event histroy_trigger.
call super method.
I think the current component is not getting registered in the history when you are navigating to the accounts page, so when our code call GO_BACK method it's going to home page.
Thanks & Regards,
DP.