Reverted original fix for BZ#1039309 - "Liquibase creates an incorrect index" and updated it with a proper fix.