Improper handling and installation can easily damage a core.It may have been twisted or damaged before you got it.
There are usually two things that will take out a heater core that quick.Overpressurization,and electrolysis.Too much pressure can be caused by a cap that fails to release excess pressure.A head gasket starting to go can do it as well.Electrolysis actuallys eats a pinhole in the core due to stray voltage in the cooling system.It can be easily checked with a voltmeter.Dunk one probe into the coolant,and one to the negative battery cable.Do this with the engine running.If you read more that .2 volts,you have a problem.