Fixed missing alias in tag_building insert query