Bug fix. Thanks ulfie22.