JAL-2480 subtract from total length on deleting feature