Hi Lyndon,
The best solution is to turn on and enforce account group ranges (added in Ledger 9.0A) so that this is impossible.
Just changing the type from Balance Sheet to Income Statement for an account with an opening balance is always a problem. You should journal the correction and make the account inactive. Alternatively, you could force the change using GridView Read-Write (but you'll need to be clear about what you're doing).
_________________________
Andrew Bates