Fixed small typesig logic error