Fixing error handling with Fixes.sql