Added binary operator error checking