Bugfix for bus lines and passing of SQL attributes.