Fix errors with choosing tags to inline