Fixed type issues with the types returned from ObsPy.