Fixes parents parsing.