Fix for flat eqgv4 code not working correctly.