Bug fixes for get account and delete application methods