Fixed bug with releaseLease (incorrect MAC formatting).
Fixed bug with removing invalid leases when editing a host.