Adding more checks for arguments in the reopen route