Fixed no-heading case to work correctly
Fixed no-heading case to work correctly

MSeifert04/astropy,joergdietrich/astropy,funbaker/astropy,DougBurke/astropy,tbabej/astropy,kelle/astropy,lpsinger/astropy,tbabej/astropy,lpsinger/astropy,bsipocz/astropy,kelle/astropy,astropy/astropy,AustereCuriosity/astropy,pllim/astropy,larrybradley/astropy,dhomeier/astropy,DougBurke/astropy,dhomeier/astropy,pllim/astropy,joergdietrich/astropy,aleksandr-bakanov/astropy,AustereCuriosity/astropy,stargaser/astropy,astropy/astropy,StuartLittlefair/astropy,StuartLittlefair/astropy,astropy/astropy,larrybradley/astropy,kelle/astropy,funbaker/astropy,lpsinger/astropy,lpsinger/astropy,pllim/astropy,tbabej/astropy,tbabej/astropy,DougBurke/astropy,bsipocz/astropy,saimn/astropy,larrybradley/astropy,AustereCuriosity/astropy,DougBurke/astropy,bsipocz/astropy,lpsinger/astropy,kelle/astropy,funbaker/astropy,MSeifert04/astropy,dhomeier/astropy,joergdietrich/astropy,mhvk/astropy,aleksandr-bakanov/astropy,AustereCuriosity/astropy,astropy/astropy,stargaser/astropy,aleksandr-bakanov/astropy,saimn/astropy,mhvk/astropy,mhvk/astropy,mhvk/astropy,pllim/astropy,tbabej/astropy,MSeifert04/astropy,AustereCuriosity/astropy,pllim/astropy,dhomeier/astropy,dhomeier/astropy,mhvk/astropy,StuartLittlefair/astropy,joergdietrich/astropy,StuartLittlefair/astropy,funbaker/astropy,stargaser/astropy,saimn/astropy,stargaser/astropy,saimn/astropy,StuartLittlefair/astropy,bsipocz/astropy,MSeifert04/astropy,saimn/astropy,joergdietrich/astropy,kelle/astropy,larrybradley/astropy,astropy/astropy,aleksandr-bakanov/astropy,larrybradley/astropy