Fixed bug where search button was not carrying forward building id.